package com.hbnu.test.www.Animal;

class Animal {
//    int id;
//    String species;
//    String color;
//    // write your code here
//
//    public Animal(int id, String species, String color) {
//        this.id = id;
//        this.species = species;
//        this.color = color;
//    }
//         public Animal(String species, String color){
//         this.color = color;
//         // this.id = id;
//         this.species = species;
//     }
    private String name;
    private String type;
    private int age;
public void setAnimalMessage(String name, String type, int age) {
    this.name = name;
    this.type = type;
    this.age = age;
}

    public void printAnimalMessage() {
        System.out.println(name+" is a "+type+" and is "+age+" years old this year");
    }
}